<template>
	<view>
		<view class="img">
			<view class="cent">
				<image class="icon-img" src="@/static/icon/home/logo.jpg" alt="" />
				<view class="conten">
					衷依慧店
				</view>
			</view>
		</view>
		<view class="cell">
				<view class="cell-p">
					衷依文化
				</view>
				<view class="cell-g">
					<view class="cell-item" v-for="item in list" :key="index">
						<view class="header">
							{{item.header}}:
						</view>
						<view class="cooo">
							{{item.conten}}
						</view>
					</view>
					<view class="cell-w">
						联系我们
					</view>
				</view>
				<view class="cell-q" @click="makePhoneCall">
					客服热线：400-633-0933
				</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{header:'身份',conten:'中国对症推拿数字化平台开创者'},
					{header:'主张',conten:'疲劳酸疼，到衷依慧店'},
					{header:'承诺',conten:'对症无效，一键退款'},
				]
			}
		},
		methods: {
			 makePhoneCall() {
			      uni.makePhoneCall({
			        phoneNumber: '400-633-0933', // 替换为实际的电话号码
			        success: function () {
			          console.log('拨打电话成功');
			        },
			        fail: function () {
			          console.error('拨打电话失败');
			        }
			      });
			    }
		}
	}
</script>

<style lang="scss">
	.img{
		// background-color: skyblue;
		height: 400rpx;
		.cent{
			margin:  0 auto;
			width: 150rpx;
			// background-color: green;
			padding-top: 80rpx;
			.icon-img{
				width: 150rpx;
				height: 150rpx;
				border-radius: 16rpx;
				// background-color: red;
			}
			.conten{
				font-size: 32rpx;
				font-weight: 600;
				text-align: center;
			}
		}
		
	}
.cell{
	padding: 16rpx;
	margin:0 auto;
	border-radius: 16rpx;
	background-color: #fff;
	width: 90%;
	height: 500rpx;
	color:grey;
	.cell-p{
		border-bottom: 1px solid grey; /* 1像素粗的黑色实线边框 */
		height: 50rpx;
	}
	.cell-g{
		height: 350rpx;
		.cell-item{
			display: flex;
			padding: 28rpx 16rpx 16rpx 16rpx;
			.cooo{
				margin-left: 10rpx;
			}
		}
		.cell-w{
			font-size: 32rpx;
			font-weight: 500;
			padding-left: 16rpx;
			padding-top: 32rpx;
			// text-align: center;
		}
	}
	.cell-q{
		border-top: 1px solid grey; /* 1像素粗的黑色实线边框 */
		height: 80rpx;
		line-height: 80rpx;
	}
}
</style>
